package com.cloud.util.QrCord;

import java.io.IOException;
import java.util.UUID;

public class test {
    /*public void uploadImg(MultipartFile image, HttpServletRequest request) {

        try {
            byte[] bytes = image.getBytes();
            String imageName = UUID.randomUUID().toString();




            QiniuCloudUtil qiniuUtil = new QiniuCloudUtil();
            try {
                //使用base64方式上传到七牛云
                String url = qiniuUtil.put64image(bytes, imageName);
                result.setCode(200);
                result.setMsg("文件上传成功");
                result.setInfo(url);
            } catch (Exception e) {
                e.printStackTrace();
            }
            return result;
        } catch (IOException e) {

            return null;
        }
    }*/
}
